import { S } from '../../s';
import { IPSDEContextMenuParam } from './ipsdecontext-menu-param';
import { PSDEToolbarParamImpl } from './psdetoolbar-param-impl';

export class PSDEContextMenuParamImpl
  extends PSDEToolbarParamImpl
  implements IPSDEContextMenuParam
{
  get owner(): IModel {
    return this.M.owner;
  }
  get cls(): string {
    return 'PSDEContextMenuParamImpl';
  }
  instanceof(cls: string): boolean {
    if (cls == S._1ad || cls == S._1ae) return true;
    return super.instanceof(cls);
  }
}
